package com.wuliaogame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuliaogame
 * @since 2022-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PPlayer对象", description="")
public class PPlayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职业选手id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "选手id")
    private Integer userId;

    @ApiModelProperty(value = "选手身价")
    private Integer social;

    @ApiModelProperty(value = "擅长英雄id")
    private Integer heId;

    @ApiModelProperty(value = "位置")
    private String location;

    @ApiModelProperty(value = "选手本赛季胜率")
    private String rate;

    @ApiModelProperty(value = "选手真实姓名")
    private String name;

    @ApiModelProperty(value = "选手年龄")
    private int age;

    @ApiModelProperty(value = "申请状态")
    private String status;

    @ApiModelProperty(value = "选手rank分")
    private int rank;



    @TableField(exist = false)
    private PUser pUser;

    @TableField(exist = false)
    private PHero pHero;


}
